#include <QtGui>
#include "ResultItem.h"

ResultItem::ResultItem(string name, QListWidget *parent) : QListWidgetItem(QString::fromStdString(name), parent) {
}

ResultItem::ResultItem(const ResultItem & other) : QListWidgetItem(other) {
    this->path = other.path;
    this->score = other.score;
    this->type = other.type;
}
